package com.vcaresolution.logistic.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.vcaresolution.logistic.dao.DAOFactory;

/**
 * The <code>BaseService</code> class is a Base Class for all
 * Services in entire application
 *
 * @author Sneahl Shah
 * @version 1.0
 * @since ShipSoft 1.0
 */
@Service
public class BaseService {
	

	@Autowired
	private DAOFactory daoFactory;

	/**
	 * @return the daoFactory
	 */
	protected DAOFactory getDaoFactory() {
		return daoFactory;
	}

	/**
	 * @param daoFactory the daoFactory to set
	 */
	public void setDaoFactory(DAOFactory daoFactory) {
		this.daoFactory = daoFactory;
	}	
}